package com.atde._05_behavioral_design_patterns.strategy;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._05_behavioral_design_patterns.strategy
 * @Author: Del
 * @CreateTime: 2025-06-30  15:14
 * @Description: 策略模式：具体的鸭子 --- 野鸭
 * @Version: 1.0
 */
public class WildDuck extends Duck{
    @Override
    public void display() {
        System.out.println("野鸭");
    }
}
